home *** CD-ROM | disk | FTP | other *** search
/ Scene Storm / Scene Storm - Volume 1.iso / coding / c / northc / northc1.lzh / include / types.h < prev    next >
C/C++ Source or Header  |  1990-08-30  |  1KB  |  40 lines

  1. /*
  2.  *    TYPES.H
  3.  */
  4.  
  5. #ifndef    TYPES_H
  6. #define    TYPES_H
  7.  
  8. #ifndef VOID
  9. #define    VOID    void
  10. #endif
  11.  
  12. typedef    unsigned char    BYTE;        /* 8-bit unsigned */
  13. typedef    unsigned short     WORD;        /* 16-bit unsigned */
  14. typedef    unsigned short    SHORT;        /* 16-bit unsigned */
  15. typedef    unsigned long    LONG;        /* 32-bit unsigned */
  16.  
  17. typedef    unsigned char    UBYTE;        /* 8-bit unsigned */
  18. typedef    unsigned short    UWORD;        /* 16-bit unsigned */
  19. typedef unsigned long   ULONG;        /* 32-bit unsigned */
  20. typedef unsigned short  USHORT;
  21.  
  22. typedef char *        APTR;        /* General pointer type */
  23.  
  24. typedef    unsigned char    uchar;        /* 8-bit unsigned */
  25. typedef    unsigned short    ushort;        /* 16-bit unsigned */
  26. typedef    unsigned int    uint;        /* 32-bit unsigned */
  27. typedef    unsigned long    ulong;        /* 32-bit unsigned */
  28.  
  29. typedef    unsigned char    u_char;        /* 8-bit unsigned */
  30. typedef    unsigned short    u_short;    /* 16-bit unsigned */
  31. typedef    unsigned int    u_int;        /* 16-bit unsigned */
  32. typedef    unsigned long    u_long;        /* 32-bit unsigned */
  33.  
  34. typedef    unsigned char    dev_t;        /* device (drive) id */
  35. typedef    unsigned long    fpos_t;        /* file position offset */
  36. typedef    unsigned long    time_t;        /* raw date/time */
  37. typedef    long        clock_t;    /* 50Hz clock ticks */
  38.  
  39. #endif TYPES_H
  40.